#!/usr/bin/env python
# encoding: utf-8
"""
    @author:水痕
    @time:2018-10-10 10:21:34
    @email:332904234@qq.com
    @version:1.0
    @fileName:modify_password.py
    @describe:
"""

from django.shortcuts import render, redirect
from django.views import View
from django.contrib.auth.decorators import login_required
from django.utils.decorators import method_decorator


@method_decorator(login_required, name='dispatch')
class ModifyPasswordView(View):
    """
    用户中心首页
    """

    def get(self, request, *args, **kwargs):
        return render(request, 'modify-password.html')